#ifndef SEARCHDIALOG_H
#define SEARCHDIALOG_H

#include <QDialog>

namespace Ui {
class SearchDialog;
}
class QTableWidget;
class QTableView;
class QAbstractItemModel;
class QAbstractItemView;

class SearchDialog : public QDialog
{
    Q_OBJECT
    
public:
    explicit SearchDialog(QAbstractItemView *searchWidget = 0, QWidget *parent = 0);
    ~SearchDialog();
    
private slots:
    void on_searchButton_clicked();
    void on_lineEdit_textChanged(const QString &arg1);

private:
    Ui::SearchDialog *ui;

    QAbstractItemModel *m_model;
    int m_currentRow;
    QAbstractItemView *m_tableView;
};

#endif // SEARCHDIALOG_H
